package com.meiyou.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: meiyou
 * @BelongsPackage: com.meiyou.properties
 * @Author: 尹晓安
 * @Date: 2023/11/23 21:38
 * @Description: todo
 */

@Component
@ConfigurationProperties(prefix = "my.mail")
@Data
public class MailProperties {

    private String host;
    private String username;
    private String password;

    private String defaultEncoding;

}
